import { createApp } from 'vue'
import App from './App.vue'

import router from '@/router'
import { store } from '@/store'

import '@/styles/index.less'

import { setupAntd } from '@/plugins/antd'

const app = createApp(App)

// 允许devtools进行调试
if (process.env.NODE_ENV === 'development') {
  app.config.devtools = true
}


// 注册全局ant-design-vue组件
setupAntd(app)

app.use(router)
app.use(store)
app.mount('#app')
